package com.hawk.eye.server.domain.dto.resp;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 对象 hawk_eye_group
 *
 * @author salad
 * @date 2023-09-23
 */
@Data
@NoArgsConstructor
public class TreeRespDTO {

    private Long id;

    private String name;

    private String type;

    private List<TreeRespDTO> children;

    public TreeRespDTO(Long id, String name, String type) {
        this.id = id;
        this.name = name;
        this.type = type;
    }
}
